
def addVectors(vector1,vector2):
    return (vector1[0]+vector2[0],vector1[1]+vector2[1])

def subtractVectors(fromVector,minusVector):
    return (fromVector[0]-minusVector[0],fromVector[1]-minusVector[1])

def multiplyVector(vector,scalar):
    return (vector[0]*scalar,vector[1]*scalar)